/* header */
#header {
    height: 141px;
}

.ewb-header .container {
    position: relative;
}

.header-title {
    float: left;
    margin: 20px 0 0 4px;
}


.header-nav-items {
    float: right;
    margin: 12px 46px 0 0;
    font-size: 0;
    font-size-adjust: none;
	    margin-right: 80px;
}

.header-nav-items>li {
    height: 59px;
    line-height: 59px;
    display: inline-block;
    vertical-align: top;
    margin-left: 60px;
    font-size: 18px;
}

.header-nav-items>li:first-child {
    margin-left: 0;
}

.header-nav-items>li.active {
    position: relative;
    color: #1679bf;
    font-weight: bold;
}

.header-nav-items>li.active:after {
    position: absolute;
    content: '';
    width: 52px;
    height: 3px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    background: #1679bf;
}


.header-search {
    position: absolute;
    top: 23px;
    right: 0;
    z-index: 99;
    height: 38px;
}

.header-search-btn {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 4px 3px 0 0;
    cursor: pointer;
    background: url("../images/icon_search.png") center center no-repeat;
}


.search-input {
    display: none;
    position: relative;
    width: 280px;
    height: 100%;
    border-radius: 38px;
    border: 1px solid #1679bf;
    background: white;
}

.input-box {
    vertical-align: top;
    width: 100%;
    height: 36px;
    line-height: 36px;
    padding: 0 42px 0 5px;
    color: #333;
    font-size: 16px;
    outline: none;
    border: none;
    border-radius: 36px;
}

.search-btn {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: 3px;
    right: 2px;
    background: url("../images/icon_search.png") center center no-repeat;
    cursor: pointer;
}

/* pad pro */
@media (max-width:1279px) {
    .header-nav-items>li {
        margin-left: 5px;
    }

}

/* pad */
@media (max-width:979px) {
    #header {
        height: auto;
        padding-bottom: 20px;
    }

    .header-nav-items {
        float: left;
    }

    .header-nav-items>li {
        margin-left: 50px;
    }

    .header-search {
        top: 30px;
    }
}



/* phone */
@media (max-width:767px) {
    .header-nav-items {
        width: 100%;
        white-space: nowrap;
        overflow-x: scroll;
        margin: 12px 0 0 0;
    }

    .header-search {
        position: initial;
        width: 100%;
        float: left;
        margin-top: 10px;
    }

    .header-search-btn {
        display: none;
    }

    .search-input {
        display: block;
        width: 100%;
    }

    .header-nav-items>li {
        height: 30px;
        line-height: 30px;
        margin-left: 20px;
    }
}

/* footer */
.ewb-footer {
    background: #2682c4;
}


.footer-cont {
    position: relative;
    padding: 17px 0 27px 0;
}

.footer-cont>p {
    line-height: 33px;
    color: #fff;
}

.footer-map>span {
    margin: 0 9px;
}

.footer-copyright>span,
.footer-ab>a {
    margin-right: 35px;
}


.footer-zc {
    position: absolute;
    width: 107px;
    height: 51px;
    top: 40px;
    right: 0;
    background: url("../images/icon_zc.png") center center no-repeat;
}

.footer-dzjg {
    position: absolute;
    width: 50px;
    height: 62px;
    top: 35px;
    right: 148px;
    background: url("../images/blue.png") center center no-repeat;
}

/* pad */
@media (max-width:979px) {
    .footer-dzjg {
        right: 141px;
    }
}



/* phone */
@media (max-width:767px) {
    .footer-cont {
        padding: 7px 0 70px 0;
        text-align: center;
    }

    .footer-cont>p {
        line-height: 25px;
    }

    .footer-copyright>span,
    .footer-ab>a {
        display: block;
        margin-right: 0;
    }

    .footer-dzjg {
        top: auto;
        bottom: 5px;
        left: 80px;
    }

    .footer-zc {
        top: auto;
        bottom: 11px;
        right: 80px;
    }

}